/* Globales */
:root {
    /* Colores */
    --redDavivienda: #EE1111;
    --colorText: #3E3E3E;
    --gray: #555555;
    --black: #000000;
    --white: #ffffff;
    --grayLight: #ededed;
}

* {
    font-family: 'Roboto Condensed', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--gray);
    position: relative;
}



/*SEGUROS */

#titulo h1 {
    position: absolute;
    font-size: 1.7rem;
    color: #ffffff;
    font-weight: bold;
    margin: -4% 0;
    z-index: 600;
}
#musicoterapia h2{
    color: #dd141d;
    font-weight: bold;
    font-size: 1.5rem;
}

#musicoterapia .links {
    color: #686868;
    font-weight: 100;
    text-decoration:underline;
    font-size: 20px;
}

.juntos p{
    color: #444444;
    font-weight: bold;
    font-size: 1.7rem;
    line-height: 2.1rem;
}

.barra-amarilla {
    position: relative;
    display: block;
    width: 100%;
    margin: -20px auto;
}

#sub-titulo h6 {
    position: absolute;
    font-size: 1.3rem;
    color: white;
    font-weight: bold;
    margin: 23px 0;
    z-index: 700;
}

.barra-verde {
    position: relative;
    display: block;
    width: 80%;
    margin:16px auto ;
}


.links {
    color: #dd141d;
    font-weight: bold;
    text-decoration: underline;
}

.links2{
    font-size: 22px;
}

.banner {
    position: relative;
}

.legal-der {
    z-index: 100;
    position: absolute;
    margin-top: 20px;
}
.ec-stars-wrapper{
    z-index: 35;}

.legal-izq {
    z-index: 100;
    position: absolute;
    margin-top: 20px;
}

#estrellas a {
    font-style: normal;
}

.fondo-gris {
    background-color: #eaeaea;

    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;


}

.fondo-gris-oscuro {
    background-color: #686868;


}

#pie p {
    color: white;
    font-size: 1.5rem
}


/*FIN SEGUROS*/

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

figure {
    margin: 0;
}


h2 {
    color: var(--redDavivienda);
    font-size: 60px;
    font-weight: 700;
    text-align: center;
    line-height: 68px;
}

h3 {
    color: var(--redDavivienda);
    font-size: 100px;
    font-style: italic;
    margin-bottom: 50px;
}

.h3--empresas {
    color: #5D5D5D;
}

h4 {
    color: var(--colorText);
}

p {
    color: var(--colorText);
    font-size: 28px;
    line-height: 33px;
    font-weight: 300;
}

p span {
    font-weight: bold;
}

.legal--tiny {
    margin: 0 auto !important;
    margin-top: 10px !important;
    line-height: 23px;
}

.legal--tiny small {
    font-weight: 300;
    font-size: 18px;
    line-height: 21px;
}

.legal--tiny strong {
    font-weight: 700;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.casita {
    z-index: 2;
    width: 115px;
    position: absolute;
    left: 0px;
}

.container,
.container-fluid {
    margin-top: 100px;
    padding-left: 0;
    padding-right: 0;
}

/*/ Globales */

/* Corte */

.hero {
    height: 640px;
    position: relative;
    padding: 0;
    background-image: url('https://img04.en25.com/EloquaImages/clients/DAVIVIENDACOSTARICA/%7B8ba06a5d-019d-412c-8b0c-3e74530f2a58%7D_%7Baa1d4478-7563-425e-a826-8f68e0d393a7%7D_200320-hero%402x.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-size: 1920px 640px; */
}
.cr-1{
    font-size: 24px;
    text-align:
}
.cr-a{
  padding-left: 145px;
padding-right: 145px;}
.hero__title {
    margin-left: 10%;
    position: absolute;
    line-height: 68px;
    font-style: italic;
    color: var(--white);
    font-size: 80px;
}

.hero__title span:nth-of-type(1) {
    font-size: 40px;
}

.hero__title span:nth-of-type(2) {
    font-size: 58px;
    border-radius: 50px;
    padding: 10px 30px;
    background-color: var(--redDavivienda);
}

.hero__leitmotiv {
    position: absolute;
    bottom: -30px;
    left: 49%;
}

.subttitleContainer {
    margin: 45px 0;
}

.subtitle {
    font-size: 34px;
    line-height: 46px;
}

.module-tab__tabContainer {
    max-width: 674px;
    margin: 80px auto;
    border-bottom: none;
}

.module-tab__tab {
    width: 35%;
    height: 60px;
    font-size: 23px;
    color: var(--redDavivienda);
    border: 1px solid var(--redDavivienda) !important;
    border-radius: 7px 0 0 7px !important;
}

.module-tab__tab:nth-of-type(2) {
    border-radius: 0 0px 0px 0 !important;
    padding-left: 2px;
}
.module-tab__tab:nth-of-type(3) {
    border-radius: 0 7px 7px 0 !important;
}

.module-tab__tab:hover {
    border-color: var(--redDavivienda);
    color: var(--redDavivienda);
}

.module-tab__tab.active {
    background-color: var(--redDavivienda) !important;
    font-weight: 700;
    color: var(--white) !important;
}

.virtual-channel {
    border-right: 1px solid #D8D8D8;
}

.virtual-channel--empresas {
    border-right: 1px solid #D8D8D8;
}

.virtual-channel__imageContainer {
    width: 85px;
    margin: 0 auto 20px;
}

.virtual-channel__text {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 2px;
}

.virtual-channel:nth-of-type(4) {
    border: none;
}

.virtual-channel--empresas:nth-of-type(1) {
    margin-right: 50px;
}

.virtual-channel--empresas:nth-of-type(2) {
    border: none;
}

.costs {
    border-radius: 15px;
    padding: 5% 5%;
    background-color: var(--redDavivienda);
    color: var(--white);
    margin-bottom: 10px;
}

.costs--empresas {
    padding: 3% 5%;
    background: linear-gradient(90deg, rgba(170,170,170,1) 0%, rgba(123,123,123,1) 100%);
}

.costs__detail figure {
    max-width: 80%;
}

.costs__title {
    font-size: 38px;
    line-height: 50px;
    letter-spacing: 1px;
}

.costs__description p,
.costs__title {
    color: var(--white);
    font-weight: 300;
}

.costs__description {
    border-left: 1px solid var(--white);
}

.amount {
    padding: 20px 4%;
    margin-top: 40px;
    border: 1px solid #DEDEDE;
    border-radius: 12px;
}

.amount__details {
    margin-bottom: 30px;
}

.amount__details h4,
.amount__details p,
.amount__channels p {
    margin: 0;
}

.amount__details h4 {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 2px;
    text-align: left;
}

.amount__details span {
    font-size: 28px;
    line-height: 33px;
    letter-spacing: 1px;
}

.amount__details div:first-child {
    padding-right: 5%;
    padding-left: 0;
    border-right: 1px solid #D8D8D8;
}

.amount__details div:last-child {
    padding-left: 5%;
}


.amount__details span {
    font-weight: 400;
    color: var(--colorText);
    font-size: 22px;
}

.amount__details p {
    display: inline-block;
    margin-left: 40px;
    font-size: 50px;
    color: var(--redDavivienda);
}

.amount__channels {
    align-items: center;
}

.amount__channels div {
    margin-right: 5%;
}

.amount__channels div:nth-of-type(1) {
    margin-right: 7%;
}

.amount__channels p {
    font-size: 20px;
    line-height: 26px;
    color: #ADADAD;
    text-align: left;
}

.amount__channels p:nth-of-type(2) {
    font-size: 18px;
    line-height: 21px;
    color: #8D8D8D;
}

.amount__channels figure {
    width: 55.52px;
    height: 56.39px;
    margin-right: 10px;
}

.daviplata {
    width: 100%;
    height: 540px;
    position: relative;
    background-image: url('https://img04.en25.com/EloquaImages/clients/DAVIVIENDACOSTARICA/%7B5b6f833c-0486-4736-93b4-ad6bb0e60c52%7D_fondo2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.daviplata > div {
    position: absolute;
}

.daviplata__imageContainer {
    width: 85px;
    margin: 0 auto 20px;
}

.daviplata__name {
    color: var(--white);
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 2px;
}

.daviplata__description {
    max-width: 1000px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 50px 0;
    color: var(--white);
    font-size: 28px;
    line-height: 33px;
    font-weight: 300;
}

.daviplata__button {
    padding: 15px 30px;
    font-size: 30px;
    letter-spacing: 2px;;
    color: var(--white);
    background-color: var(--redDavivienda);
    border: 2px solid var(--white);
    border-radius: 55px;
}

.daviplata__button:hover {
    color: var(--white);
    text-decoration: none;
}

.leitmotiv-text {
    margin-top: 30px;
    text-align: center;
}

.leitmotiv-text::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 19px;
    margin-left: -1em;
    margin-top: -10px;
    background-image: url('https://img04.en25.com/EloquaImages/clients/DAVIVIENDACOSTARICA/%7B84c963d8-9df1-4310-8242-453e1fd9342f%7D_bullet.png');
    background-position: left top;
    background-size: 13px 19px;
    background-repeat: no-repeat;
}

.offices div {
    padding: 30px 0 60px;
}

.box-dashed {
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 4% 10% !important;
    border: 1px dashed #B2B2B2;
    border-radius: 13px;
    background-color: #FAFAFA;
}

.box-dashed__description strong {
    font-weight: 700;
}

.contact-information {
    margin-top: 40px;
}

.contact-information strong {
    font-weight: 700;
}

.contact-information .strong--red {
    color: var(--redDavivienda);
}

.contact-information a {
    color: var(--redDavivienda);
    text-decoration: underline;
}

.contact-information a:hover {
    color: var(--redDavivienda);
}



/* tabs estilos */

.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color: var(--red);
}

.footer {
    padding: 20px;
    margin-top: 50px;
    background-color: var(--black);
    color: var(--white);
}

.footer .container-fluid {
    margin: 0 auto;
}

.footer-legal {
    color: var(--white);
    font-size: 12px;
    line-height: 14px;
}

.footer-legal--mobile {
    display: none;
}

@media screen and (max-width: 992px) {
    .container,
    .container-fluid {
        margin-top: 45px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .cr-a{
  padding-left: 5px;
padding-right: 5px;}

    .hero {
        height: 420px;
        position: relative;
        padding: 0;
        background-image: url('https://img04.en25.com/EloquaImages/clients/DAVIVIENDACOSTARICA/%7B4a174e26-ae9e-4cef-b3ea-909bae166b60%7D_%7B88fe1526-f048-4bd4-8fee-6d8483231efe%7D_200320-hero--mobile%402x.jpg');
        background-position: center;
        background-size: cover;
    }

    .hero__title {
        font-size: 65px;
        line-height: 58px;
        margin-left: 0;
    }

    .hero__title span:nth-of-type(1) {
        font-size: 38px;
    }

    .hero__title span:nth-of-type(2) {
        font-size: 48px;
    }

    .virtual-channel--empresas:nth-of-type(1) {
        margin-right: 25px;
    }

    .virtual-channel:nth-of-type(2) {
        border-right: none;
    }

    .costs--empresas {
        padding: 5% 5%;
    }

    .costs__detail {
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .costs__title {
        font-size: 47px;
        line-height: 64px;
    }

    .costs__description {
        border-top: 1px solid var(--white);
        border-left: 0;
        padding-top: 30px;
        padding-left: 0;
    }

    .costs__description ul {
        padding-left: 20px;
    }

    .amount__details div:first-child {
        padding-right: 0;
        border: 0;
        margin-bottom: 30px;;
    }

    .amount__details span {
        display: block;
        margin-bottom: 20px;
    }

    .amount__details div:last-child {
        padding-left: 0;
    }

    .amount__details p {
        margin-left: 0;
    }

    .amount__channels div:nth-of-type(1) {
        margin: 0;
        margin-bottom: 25px;
        flex: 1 1 100%;
    }

    .amount__channels div:nth-of-type(2) {
        margin: 0;
        margin-bottom: 15px;
        flex: 1 1 100%;
    }

    .amount__channels > div:nth-of-type(2) {
        width: 38%;
        margin: 0 auto;
    }

    .box-dashed {
        margin-top: 30px;
        padding: 4% 5% !important;
    }

    .contact-information {
        font-size: 20px !important;
        line-height: 26px;
    }

    .footer {
        margin-top: 30px;
    }

    .footer-legal--desktop {
        display: none;
    }

    .footer-legal--mobile {
        display: inline-block;
    }

     #titulo h1 {
        position: absolute;
        font-size: 22px;
        color: #ffffff;
        font-weight: bold;
        margin: -13% 0;
        z-index: 100;
    }

    .barra-amarilla {
        position: relative;
        display: block;
        width: 60%;
        margin: -50px auto;
    }

    #sub-titulo h6 {
        position: absolute;
        font-size: 1rem;
        color: white;
        font-weight: bold;
        margin: 30px 0;
        z-index: 100;
    }

    .barra-verde {
        position: relative;
        display: block;
        width: 40%;
        margin: 35px auto;
    }
}



/*SEGUROS*/

@media (min-width: 768px) {

    #titulo h1 {
        position: absolute;
        font-size: 24px;
        color: #fff;
        font-weight: bold;
        margin: -4% 0;
        z-index: 100;
    }

    .barra-amarilla {
        position: relative;
        display: block;
        width: 50%;
        margin: -20px auto;
    }

    #sub-titulo h6 {
        position: absolute;
        font-size: 1.5rem;
        color: white;
        font-weight: bold;
        margin: 12px 0;
        z-index: 100;
    }

    .barra-verde {
        position: relative;
        display: block;
        width: 40%;
        margin: 10px auto;
    }
}

@media (min-width: 992px) {

    #titulo h1 {
        position: absolute;
        font-size: 3rem;
        color: #ffffff;
        font-weight: bold;
        margin: -4% 0;
        z-index: 100;
    }

    .barra-amarilla {
        position: relative;
        display: block;
        width: 60%;
        margin: -50px auto;
    }

    #sub-titulo h6 {
        position: absolute;
        font-size: 2rem;
        color: white;
        font-weight: bold;
        margin: 45px 0;
        z-index: 100;
    }

    .barra-verde {
        position: relative;
        display: block;
        width: 40%;
        margin: 35px auto;
    }
}
/* FIN SEGUROS*/


@media screen and (max-width: 768px) {


    #titulo h1{display: none;

    }
    #sub-titulo h6{
        display: none;
    }

        #titulo-bg img{display: none;

    }
    #sub-titulo-bg img{
        display: none;
    }

.pl-3, .px-3 {
    padding-left: 0rem!important;}

    h2 {
        font-size: 32px;
        line-height: 38px;
    }

    h3 {
        margin-bottom: 30px;
    }

    .hero {
        display: flex;
        justify-content: center;
    }

    .hero__title {
        font-size: 50px;
        line-height: 58px;
    }

    .hero__title span:nth-of-type(1) {
        font-size: 36px;
    }

    .hero__title span:nth-of-type(2) {
        font-size: 43px;
    }

    .hero__leitmotiv {
        width: 40px;
        bottom: -20px;
        left: 47%;
    }

    .subtitle {
        font-size: 22px;
        line-height: 28px;
    }

    .module-tab__tabContainer {
        margin: 45px auto;
    }

    p {
        font-size: 24px;
    }

    .costs__title {
        font-size: 38px;
        line-height: 50px;
    }

    .amount {
        margin-top: 20px;
    }

    .amount__channels > div:nth-of-type(2) {
        width: 50%;
    }

    .daviplata {
        height: 600px;
    }

    .daviplata__description {
        font-size: 24px;
    }

    .offices div {
        padding: 15px 0 30px;
    }
}

@media only screen and (max-width:650px) {
    .casita {
        z-index: 2;
        width: 95px;
        position: absolute;
        left: 0px;
    }
}

@media screen and (max-width: 576px) {
    .hero__title {
        font-size: 42px;
        line-height: 44px;
    }

    .hero__title span:nth-of-type(1) {
        font-size: 25px;
    }

    .hero__title span:nth-of-type(2) {
        font-size: 28px;
    }

    .hero__leitmotiv {
        left: 46%;
    }

    .costs__title {
        font-size: 28px;
        line-height: 33px;
    }

    .virtual-channel--empresas:nth-of-type(1) {
        margin-right: 0;
        border-right: none;
    }

    .amount__channels > div:nth-of-type(2) {
        width: 60%;
    }

    .daviplata__button {
        padding: 10px 20px;
        font-size: 22px;
    }

    .daviplata__description {
        margin: 30px 0;
    }

    .virtual-channel__text {
        font-size: 15px;
    }
}